Skip to content

Conversation

Monalisa0311
Copy link
Contributor

@Monalisa0311 Monalisa0311 commented Sep 9, 2024

Description of Change

Added the test cases for greedy_algorithms\kruskals_minimum_spanning_tree.cpp issue #2509

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes: Added the test cases in greedy_algorithms\kruskals_minimum_spanning_tree.cpp to validate edge cases.

@Monalisa0311
Copy link
Contributor Author

If any changes are needed, let me know.

@Monalisa0311
Copy link
Contributor Author

I have made all the required changes. Can you please review the changes?

move infinity valued inside test
@realstealthninja
Copy link
Collaborator

Thank you very much for your contributions ❤️

@realstealthninja realstealthninja merged commit 920b6d4 into TheAlgorithms:master Sep 13, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Add self-tests in greedy_algorithms/kruskals_minimum_spanning_tree.cpp
2 participants